package com.zzh.custom.chess;


public class PiecesBean {


    /***象*/
    public static final int AS = 1;
    // 炮
    public static final int CANNON = 2;
    // 马
    public static final int HORSE = 3;
    // 卒
    public static final int PAWN = 4;
    // 士
    public static final int SCHOLAR = 5;
    // 将
    public static final int TAKE = 6;
    // 车
    public static final int VEHICLE = 7;
    // 阵营
    public static final int PARTY_A = 1;
    public static final int PARTY_B = 2;

    // 棋子的描述
    private String name;
    // 棋子的种类
    public int type;
    // 棋子的阵营
    private int campType;
    // 棋子的坐标点
    private int pointKey;
    // 棋子的图片
    private int drawableId;
    // 棋子的能力 后期添加


    public String getName() {
        return name;
    }

    public int getCampType() {
        return campType;
    }

    public int getDrawableId() {
        return drawableId;
    }

    public int getPointKey() {
        return pointKey;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setCampType(int campType) {
        this.campType = campType;
    }

    public void setDrawableId(int drawableId) {
        this.drawableId = drawableId;
    }

    public void setPointKey(int pointKey) {
        this.pointKey = pointKey;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "PiecesBean{" +
                "name='" + name + '\'' +
                ", campType=" + campType +
                ", pointKey=" + pointKey +
                ", drawableId=" + drawableId +
                '}';
    }
}
